package com.tic.robot.ui.activity;

import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.tic.robot.R;
import com.tic.robot.base.BaseTitleActivity;
import com.tic.robot.core.BluetooshManager;

public class FootballControlerActivity extends BaseTitleActivity {

    @Override
    protected int getContentLayout() {
        return R.layout.activity_football_controler;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setTitle(getString(R.string.control_football));
    }

    public void onBtnClick(View view) {
        Log.e("test", "id = " + view.getId());
        switch (view.getId()) {
            case R.id.iv_stop:
                BluetooshManager.getInstance().sendMessageHandler("stop");
                break;
            case R.id.iv_left:
                break;
            case R.id.iv_right:
                break;
            case R.id.iv_up:
                break;
            case R.id.iv_down:
                break;
            case R.id.iv_turn_left:
                break;
            case R.id.iv_turn_right:
                break;

            case R.id.iv_func_1:
                break;
            case R.id.iv_func_2:
                break;
            case R.id.iv_func_3:
                break;
            case R.id.iv_func_4:
                break;
            case R.id.iv_func_5:
                break;
            case R.id.iv_func_6:
                break;
        }
    }
}
